package com.woniu.entity;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.Period;
import java.util.Date;
import java.util.List;


/**
 * 产品实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "产品列表实体类")
public class Product extends BaseEntity {
    @ApiModelProperty(value="产品id主键",dataType="Integer")
    @Excel
    Integer productId;
    @ApiModelProperty(value="产品名称",dataType="String")
    @Excel
    String productName;
    @ApiModelProperty(value="产品状态",dataType="Integer")
    @Excel
    Integer productStatus;
    @ApiModelProperty(value="渠道数",dataType="Integer")
    @Excel
    Integer channelNum;
    @ApiModelProperty(value="最后更新人",dataType="String")
    @Excel
    String lastPerson;
    @ApiModelProperty(value="创建时间",dataType="Date")
    @Excel
    Date createTime;
    @ApiModelProperty(value="渠道id",dataType="Integer")
    @Excel
    Integer channelId;
    @ApiModelProperty(value="产品编号",dataType="String")
    @Excel
    String productCode;
    @ApiModelProperty(value="订单id",dataType="Integer")
    @Excel
    Integer loanInfoId;
    @ApiModelProperty(value="产品类型",dataType="String")
    @Excel
    String usage;
    @ApiModelProperty(value="产品来源",dataType="String")
    @Excel
    String creditChannel;
    @ApiModelProperty(value="期数信息",dataType="Periods")
    @Excel
    List<Periods> periodsList;
    @ApiModelProperty(value="业务类型",dataType="String")
    @Excel
    String serviceType;
}
